﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QModels
{

	/// <summary>
	/// 定时器状态
	/// </summary>

	[Table("QTimerStatus")]
	public class QTimerStatus:BaseEntity
	{
		/// <summary>
		/// 小车编号
		/// </summary>
		public string CarNumber { get; set; }
		/// <summary>
		/// 是否开启PLC交互定时器
		/// </summary>
		public bool IsTimer_PLC { get; set; }
		public decimal Interval_Timer_PLC { get; set; } = 100;

		/// <summary>
		/// 是否开启界面刷新定时器
		/// </summary>
		/// 
		public bool IsTimer_JieMian { get; set; }

		public decimal Interval_Timer_JieMian { get; set; } = 1000;

	
		
		/// <summary>
		/// 是否开启环控定时器
		/// </summary>
		public bool IsTimer_HuanKong { get; set; }
		public decimal Interval_Timer_HuanKong { get; set; } = 1000*60;

		/// <summary>
		/// 是否启动日志
		/// </summary>
		public bool IsLogger { get; set; }

		public decimal MinuteBeforeFeed { get; set; } = 5;

	}
}
